//----------------------------------------------------------------------------
// M A R I T I M E  R E S E A R C H  I N S T I T U T E  N E T H E R L A N D S
//----------------------------------------------------------------------------
// Copyright (C) 2009 - MARIN - All rights reserved - http://www.marin.nl
//----------------------------------------------------------------------------
// Program    : mermaid
// Module     : vbm
// File       : StringUtils.h
//----------------------------------------------------------------------------

#ifndef STRINGUTILS_H
#define STRINGUTILS_H

/// some necessary string routines
class StringUtils
{
public:

    static char* trim(char *s);

    static int split(char *str, char *word[], int max, char c);

private:

    /// @cond nevercall
    StringUtils();
    StringUtils(const StringUtils& orig);
    virtual ~StringUtils();
    StringUtils & operator =(const StringUtils& orig);
    // @endcond

};



#endif // STRINGUTILS_H
